﻿//-----------------------------------------------------------------
//
// @(#)$Id: PPOrders.aspx.cs,v 1.0 2013/12/13 17:56:43 lichunhua Exp $
// @(#)$Author: lichunhua  $
// @(#)$Date: 2013/12/13 17:56:43 $
// @(#)$Description:
//
//
//
//                 All Rights Reserved.
//-----------------------------------------------------------------
using System;
using System.Web.UI.WebControls;
using ebay.Dal.CenterDB_EbayTableAdapters;

public partial class UI_Orders_PPOrders : System.Web.UI.Page
{
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        T_EbayAccountTableAdapter ebayAccountAdapter = new T_EbayAccountTableAdapter();
        ddlebayUserId.DataSource = ebayAccountAdapter.GetData();
        ddlebayUserId.DataTextField = "EbayUserId";
        ddlebayUserId.DataValueField = "EbayUserId";
        ddlebayUserId.DataBind();




        ddlebayUserId.Items.Insert(0, new ListItem("《--请选择--》", " "));



        ddlMatchEbayUserId.DataSource = ebayAccountAdapter.GetData();
        ddlMatchEbayUserId.DataTextField = "EbayUserId";
        ddlMatchEbayUserId.DataValueField = "EbayUserId";
        ddlMatchEbayUserId.DataBind();
        ddlMatchEbayUserId.Items.Insert(0, new ListItem("《--请选择--》", "empty"));



        beginDate.Value = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
        endDate.Value = DateTime.Now.ToString("yyyy-MM-dd");
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            txtMatchDate.Value = DateTime.Now.ToString("yyyy-MM-dd");
        }
    }
}
